namespace go demo


struct Person{
    1: optional string name
    2: optional i32 age
    3: optional bool sex
    4: optional string idcard
}


struct Student{
    1: optional Person person
    5: optional string school
    6: optional string major
    7: optional string grade
    8: optional string phone
    9: optional string email
    10: optional string address
}

service StudentService{
    Student addStudent(1:Student req)
    Student getStudent(1:Student req)
    Student updateStudent(1:Student req)
    Student deleteStudent(1:Student req)
}

